package com.platform.modules.quality.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.platform.modules.prj.entity.PrjSuperviseEntity;
import com.platform.modules.quality.entity.QlyInspectionItemEntity;
import com.platform.modules.quality.vo.QlyInspectionItemListByAppVo;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface QlyInspectionItemDao extends BaseMapper<QlyInspectionItemEntity> {

	List<PrjSuperviseEntity> selectPrjSupervisePage(Page<PrjSuperviseEntity> page, Map<String, Object> params);

	List<QlyInspectionItemEntity> queryInspectionItemList(@Param("insId") String insId);

	List<QlyInspectionItemEntity> queryInspectionItemAndReformList(@Param("insId") String insId);
	
	List<QlyInspectionItemEntity> queryInspectionItemUnReform(@Param("insId") String insId,@Param("insItemId") String insItemId);
	
	List<QlyInspectionItemEntity> queryInspectionItemUnReview(@Param("insId") String insId);
	
	List<QlyInspectionItemListByAppVo> queryInspectionItemAndReformListByApp(@Param("insId") String insId);
}
